package unit6;

public class StudentNode2 {

    /**
     * 学生编号
     */
    public int no;
    /**
     * 姓名
     */
    public String name;
    // 默认是null
    public StudentNode2 next;
    // 默认是null
    public StudentNode2 pre;
    public StudentNode2(int no, String name) {
        super();
        this.no = no;
        this.name = name;
    }


    public String toString() {
        return "StudentNode [no=" + no + ", name=" + name  + "]";
    }

}
